package com.hzx.service.impl;

import com.hzx.dao.ComPictureMapper;
import com.hzx.pojo.ComPicture;
import com.hzx.service.ComPictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ComPicturesServiceImpl implements ComPictureService {

    @Autowired
    ComPictureMapper comPictureMapper ;

    @Override
    public  int insertSelective(ComPicture comPicture) {
        return comPictureMapper.insertSelective(comPicture);
    }

    @Override
    public  Integer deleteById(Integer id) {
        return comPictureMapper.deleteByPrimaryKey(id);
    }
}
